<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="keywords " content="淘宝刷单，刷单平台，爆款，信誉炒作，淘宝爆款"/>
    <title>微赚 - #{get 'title' /}</title>
    <link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/reset.css'}" media="all" />
    <link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/frame.css'}" media="all" />
    <link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/widget.css'}" media="all" />
    <link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/main.css'}" media="all" />
    #{get 'moreStyles' /}
    <link rel="shortcut icon" href="/favicon.ico"/>
    <link rel="stylesheet" media="screen" href="@{'/public/qq_callcenter/css/index.css'}" />
</head>
<body>
    <div id="container">
        <div id="topBar">
        #{if user}
            <a href="/logout" class="floatRight btn_blue bar_btn mr20">退出</a>
        #{/if}
        #{else}
     
            #{if request.url=='/regist'}
            <a href="/login" class="floatRight btn_blue bar_btn mr20">登录</a>
            #{/if}
            #{elseif request.url=='/findPass'}
            <a href="/regist" class="floatRight btn_blue bar_btn mr20">注册新账号</a>
            #{/elseif}
            #{elseif role=='admin'}
            <a href="/admin/logout" class="floatRight btn_blue bar_btn mr20">退出登录</a>
           
            <nav class="nav floatRight bar_link">
			  <ul class="nav__menu">
			    <li class="nav__menu-item bar_link"> <a class="bar_link mr10"> 
            ${admin.name}</a>
			      <ul class="nav__submenu">
			        <li class="nav__submenu-item bar_link">
			        	<a href="/admin/takeTaskCount" >接单数统计</a>
					</li>
			        <li class="nav__submenu-item bar_link">
			        	<a href="/admin/sellerPutTime" >商家放单统计</a>
					</li>
					<li class="nav__submenu-item bar_link">
			        	<a href="/admin/buyerTakeTask" >买手接单统计</a>
					</li>
					<li class="nav__submenu-item bar_link">
			        	<a href="/admin/expressCount" >快递单数统计</a>
					</li>
					<li class="nav__submenu-item bar_link">
			        	<a href="/admin/flow/clickCount" >流量点击数统计</a>
					</li>
					#{if admin.type.toString()=='SUPERADMIN'}
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/findSysCount" >系统统计</a>
					</li>
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/adminOperatorLog" >后台操作记录</a>
					</li>
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/adminRegister" >用户注册</a>
					</li>
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/sysConfig" >系统配置</a>
					</li>
					#{/if}
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/adminAccount" >后台用户管理</a>
					</li>
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/rewardCount" >奖励统计</a>
					</li>
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/financeReconciliation" >财务对账</a>
					</li>
					<li class="nav__submenu-item bar_link">
					 	<a href="/admin/faBaoGuo" >发包裹</a>
					</li>
			      </ul>
			    </li>
			  </ul>
			</nav>
            #{/elseif}
            #{else}
            <a href="/regist" class="floatRight btn_blue bar_btn mr20">立即注册</a>
            <a href="/login" class="floatRight bar_link mr10">登录</a>
            #{/else}
        #{/else}
            <div id="usrInfo">
            #{if user}
                <span class="black mr10">${user.nick}</span>
                <span class="iconfont mr4">&#xf0150;</span>
                #{if user.isSeller()}
                <span>押金</span>
                <span class="bold red" id="pledge">${(user?.pledge/100).format("##0.00")}</span>
                &nbsp;&nbsp;
                <!--  
                <span>流量</span>
                <span class="bold red" id="flow">${user?.flow}</span>
                -->
                <a href="/user/money" class="bar_link">[充值]</a>
                &nbsp;&nbsp;
                #{/if}
                #{else}
                <span>本金</span>
                 <span class="bold red" id="ingot">${(user?.deposit/100).format("##0.00")}</span>
                &nbsp;&nbsp;
                #{/else}
                
                <span>金币</span>
                <span class="bold red" id="allingot">${(user?.ingot/100).format("##0.00")}</span>
                <!--  
                <a href="/user/money" class="bar_link">[充值]</a>
                -->
                #{if user.isBuyer()}
                <span>经验值</span>
                <span class="bold red">${user?.experience}</span>
                &nbsp;&nbsp;
                <input type="hidden" id="T_bu" value="" />
                #{/if}
                <span class="iconfont mr4">&#xe618;</span>
                <span class="mr4">会员到期时间</span>
                <span class="red time">${user?.dueTime?.format('yyyy-MM-dd')}</span>
                #{if user?.dueTime}
                <a href="/user/member" class="bar_link">[续费]</a>
                #{/if}
                #{else}
                <a href="/user/member" class="bar_link">[开通会员]</a>
                #{/else}
            #{/if}

            #{if role=='admin'}
                <a href="/admin/" class="bar_link mr10" module="task">
                    <span class="iconfont mr4">&#xf00be;</span>
                    任务审核(0)
                </a>
                <a href="/admin/notice/add" class="bar_link mr10" module="notice">
                    <span class="iconfont mr4">&#xf00b6;</span>
                    发布公告
                </a>
                <a href="/admin/buyerAudit" class="bar_link mr10" module="buyer">
                    <span class="iconfont mr4">&#xf00b0;</span>
                    买号审核(0)
                </a>
               <a href="/admin/express" class="bar_link mr10" module="express">
                    <span class="iconfont mr4">&#xe612;</span>
                    快递单打印(0)
                </a> 
                <a href="/admin/withdraw" class="bar_link">
                    <span class="iconfont mr4">&#xf0035;</span>
                    提现处理(0)
                </a>
                <a href="/admin/buyerDepositWithdraw" class="bar_link">
                    <span class="iconfont mr4">&#xf0032;</span>
                   买手本金提现处理(0)
                </a>
            #{/if}
            
            #{if role=='kjkd'}
            <a class="bar_link mr10" href="/express/waitExpressPrint" module="waitExpressPrint">
				<em class="iconfont">&#xf0199;</em>
				<span class="text" id="waitExpressPrintText">待打印订单</span>
			</a>
			<a class="bar_link mr10" href="/express/expressPrinting" module="printingOrders">
				<em class="iconfont">&#xe607;</em>
				<span class="text" id="expressPrintingText">正在打印订单</span>
			</a>
			<a class="bar_link mr10" href="/express/expressPrintFinish" module="expressPrintFinish">
				<em class="iconfont">&#xf00c5;</em>
				<span class="text" id="expressPrintFinishText">已经打印订单</span>
			</a>
            #{/if}
            </div>

            <div id="logo" class="floatLeft mr10 ml20">
                <img src="/public/images/logo.png" />
            </div>
            
            <div id="links" class="floatLeft">
            #{if user}
            	#{if user.type.toString()=='BUYER'}
                <a href="/tasks">
                    任务列表
                </a>
             	#{/if}    
                <a href="/notice">网站公告</a>
               <a href="/course">新手教程</a>
             #{/if}
             #{if role=='admin'}
              <a href="/admin/task">
                    任务列表
                    (${taskNum>0?taskNum:0})
                </a>
             #{/if}
            </div>
            
        </div>
        #{doLayout /}
        <div class="tc mt40">
            Copyright (c) 2014 weizhuan.la Inc. All Rights.
        </div>
    </div>

    <div id="authenticityToken">#{authenticityToken /}</div>



	<!--  
    <div class="service_box">
      <ul class="tab_nav">
        <li><a href="http://www.weizhuan.la"><i class="icon icon_1"></i>在线客服</a></li>
        <li><a href="http://www.weizhuan.la"><i class="icon icon_3"></i></a></li>
      </ul>
      <div class="tab_content">
        <div class="tab_plan">
          <p class="fs14">财务充值:<br />
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=177805290&amp;site=qq&amp;menu=yes" class="qq_link"><img border="0" src="http://wpa.qq.com/pa?p=2:177805290:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></p>
          <p class="fs14 mt10">客服微微:<br />
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=177805291&amp;site=qq&amp;menu=yes" class="qq_link"><img border="0" src="http://wpa.qq.com/pa?p=2:177805291:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></p>
            <p class="fs14 mt10">客服赚赚:<br />
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=177805292&amp;site=qq&amp;menu=yes" class="qq_link"><img border="0" src="http://wpa.qq.com/pa?p=2:177805292:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></p>
          <p class="fs14 mt10">客服啦啦:<br />
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=177805293&amp;site=qq&amp;menu=yes" class="qq_link"><img border="0" src="http://wpa.qq.com/pa?p=2:177805293:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></p>
          <p class="mt10">服务时间:<br />
            9:00-20:00(工作日)<br />
          </p>
        </div>
        <div class="tab_plan" style="display: none;"><img src="@{'public/qq_callcenter/images/weixin.jpg'}" alt="官方微信自助客服" width="130" height="130">
          <p>扫一扫关注微赚站长</p>
        </div>
      </div>
    </div>
    -->
    <script charset="utf-8" type="text/javascript" src="http://wpa.b.qq.com/cgi/wpa.php?key=XzgwMDEzMjM0NV80MDQ1MjZfODAwMTMyMzQ1Xw"></script>
    <script src="http://cdn.staticfile.org/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
    <!-- use jquery.validate.js default -->
    <script src="@{'/public/javascripts/jquery.validate.js'}" type="text/javascript"></script>
    <script type="text/javascript" src="@{'/public/javascripts/global.js'}"></script>
    <script type="text/javascript" src="@{'/public/javascripts/main.js'}"></script>
    #{get 'moreScripts' /}



    #{if enableBaidu}
    <script type="text/javascript" src="http://hm.baidu.com/hm.js?b018f5eefc2caa6251e2a37da545048f"></script>
    #{/if}

    #{if role!='admin' && role!='kjkd' && request.domain.endsWith('waguke.com')}
    <script charset="utf-8" type="text/javascript" src="http://wpa.b.qq.com/cgi/wpa.php?key=XzgwMDA4MTQ0MV8yMDcxMzZfODAwMDgxNDQxXw"></script>
    #{/if}

    <script type="text/javascript">
$(".service_box .tab_nav li").hover(function(){
    var i=$(this).index();
    $(this).addClass("active").siblings().removeClass("active");
    $(".service_box .tab_plan:eq("+i+")").show().siblings().hide();
});
$(function(){
    var t;
    $(".service_box").hover(function(){
        $(".service_box").animate({right:0},300)
        clearTimeout(t);
    },function(){
        t=setTimeout(function(e){
            $(".service_box").animate({right:"-146px"},300);
            $(".service_box").find(".tab_nav li").removeClass("active");
        },1000);
    });
});
var isTransition=true;
$(".m_logo").hover(function(){
    var r=0;
    if(isTransition){
        animateTime = setInterval(function(){
            if (r>=153){
                clearInterval(animateTime);
                isTransition=true;
            }else{
                isTransition=false;
                r++;
                $(".m_logo a").attr("style","-webkit-mask:-webkit-gradient(radial, 45 25, "+r+", 45 25, "+(r+15)+", from(rgb(0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0.2)), to(rgb(0, 0, 0)));")
            };
        },5);
    }
},function(){
    return;
});

</script> 

<!--[if lt IE 7]>
<script type="text/javascript">
    window.onscroll = function(){
        doc_scroll();
    };
    var doc_scroll = function(){
        var height = document.documentElement.clientHeight - 90 ;
        var scroll_top = $(document).scrollTop() ;
        $(".service_box").css({
            "top" : height + scroll_top - 74
        });
    };
    doc_scroll();
</script> 
<![endif]-->
</body>
</html>